doxygen-hip
authorSamuel Thibault <sthibault@debian.org>
Thu, 4 Dec 2025 16:54:23 +0000 (17:54 +0100)
committerSamuel Thibault <sthibault@debian.org>
Thu, 4 Dec 2025 16:54:23 +0000 (17:54 +0100)
Gbp-Pq: Name doxygen-hip

doc/doxygen.cfg
doc/doxygen/doxygen_filter.sh.in

index 82d8e3692a85af5a3da65daada2022f299a3a613..5edefcc5aeb11b80e9b377a6031fb32898ed7331 100644 (file)
@@ -1635,6 +1635,7 @@ PREDEFINED             = STARPU_USE_OPENCL=1 \
                         STARPU_HAVE_GLPK_H=1 \
                         STARPU_USE_MPI_MASTER_SLAVE=1 \
                         STARPU_BUBBLE=1 \
+                        __HIP_PLATFORM_AMD__=1 \
                          __GCC__
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
index d61235d20c950bb329a4635bab77aaab438662f3..ebb4529b67c7765487d53d295e6bcf0d35c1adef 100755 (executable)
@@ -15,7 +15,7 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 if [ "$(basename $1)" == "starpufft.h" ] ; then
-    gcc -E $1 -I @top_srcdir@/include/ -I @top_builddir@/include/ |grep -i starpufft
+    gcc -D__HIP_PLATFORM_AMD__ -E $1 -I @top_srcdir@/include/ -I @top_builddir@/include/ |grep -i starpufft
 else
     # the macro STARPU_DEPRECATED needs to be removed as it is not properly processed by doxygen
     # lines starting with // in the doxygen input files are considered as comments to be removed